package o;

import java.util.HashMap;
import java.util.Map;

public class bgu {
    private static Map<String, Class<? extends fai>> ॱ = new HashMap();

    public static void ˏ(String str, Class<? extends fai> cls) {
        ॱ.put(str, cls);
    }

    public static fai ˋ(String str) {
        Class cls = (Class) ॱ.get(str);
        if (cls != null) {
            try {
                return (fai) cls.newInstance();
            } catch (IllegalAccessException e) {
                Logger.e("RemoteBuoyRegistry", "getWindow IllegalAccessException");
            } catch (InstantiationException e2) {
                Logger.e("RemoteBuoyRegistry", "getWindow InstantiationException");
            }
        }
        return null;
    }
}
